package cn.com.hd.mall.web.webservices.entity.response.shoppingcart;

import java.io.Serializable;

public class GiftListBean implements Serializable {
    private int giftNum;
    private String specName;
    private String giftName;

    public GiftListBean() {
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) {
            return true;
        }
        if (o == null || getClass() != o.getClass()) {
            return false;
        }

        GiftListBean that = (GiftListBean) o;

        return specName.equals(that.specName) && giftName.equals(that.giftName);

    }

    @Override
    public int hashCode() {
        int result = specName.hashCode();
        result = 31 * result + giftName.hashCode();
        return result;
    }

    public int getGiftNum() {
        return giftNum;
    }

    public void setGiftNum(int giftNum) {
        this.giftNum = giftNum;
    }

    public String getSpecName() {
        return specName;
    }

    public void setSpecName(String specName) {
        this.specName = specName;
    }

    public String getGiftName() {
        return giftName;
    }

    public void setGiftName(String giftName) {
        this.giftName = giftName;
    }
}